﻿using System;
using System.Collections.Generic;

namespace Entities
{
    public sealed class Voting
    {
        public string id { get; set; }
        public string name { get; set; }
        public DateTime votingDateStart { get; set; }
        public DateTime votingDateEnd { get; set; }
        public string votingStartTime { get; set; }
        public string votingEndTime { get; set; }
        public bool votingBlocked { get; set; }
        public bool votingActive { get; set; }
        public string votingBlockedView { get; set; }
        public string votingActiveView { get; set; }
        public List<Group> groups { get; set; }
        public string groupsView { get; set; }
        public Voting()
        {
            id = string.Empty;
            name = string.Empty;
            votingDateStart = new DateTime();
            votingDateEnd = new DateTime();
            votingStartTime = string.Empty;
            votingEndTime = string.Empty;
            votingBlocked = false;
            votingActive = true;
            votingBlockedView = string.Empty;
            votingActiveView = string.Empty;
            groups = new List<Group>();
            groupsView = string.Empty;
        }
    }
}
